/**
 *
 * @author 朱雀
 */

system = {};
system.locale = (navigator.language || navigator.browserLanguage).toLocaleLowerCase();
Ext.Loader.setPath('SvgEditor', 'Editor');
Ext.require('SvgEditor.init.Editor');
Ext.onReady(function() {
	var editor = Ext.create('SvgEditor.init.Editor', {readOnly: false});
	var init = Ext.create('SvgEditor.init.Init');
	editor.ep.topBar.initUtil = init;
	init.init(editor.ep.canvas);
});